.dialog{
    width:100%;
    height: 100%;
    position: fixed;
    top:0;
    left:0;
    z-index:9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img{
    width:100%;
}